package com.ruoyi.my.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 teacher
 * 
 * @author ruoyi
 * @date 2025-10-23
 */
public class Teacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**id */
    private Long id;

    /** 老师姓名 */
    @Excel(name = "老师姓名")
    private String name;

    /** 性别(0.男 1.女) */
    @Excel(name = "性别(0.男 1.女)")
    private Long sex;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 工号 */
    @Excel(name = "工号")
    private String idNumber;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 状态(0.在职 1.休假) */
    @Excel(name = "状态(0.在职 1.休假)")
    private Long status;

    /** 删除 */
    @Excel(name = "删除")
    private Long isDeleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setSex(Long sex) 
    {
        this.sex = sex;
    }

    public Long getSex() 
    {
        return sex;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }

    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setIsDeleted(Long isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Long getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("sex", getSex())
            .append("phone", getPhone())
            .append("idNumber", getIdNumber())
            .append("email", getEmail())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
